package com.hooya.fa.eu.biz.business;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequiredArgsConstructor
public class DailyAudit {

	private final DealSourceData_01 dealSourceData_01;

	private final DateAggregation_02 dateAggregation_02;

	private final GenerateInvoices_03 generateInvoices_03;

	private final IssueReports_04 issueReports_04;


	@GetMapping("/DailyAudit")
	public void auditRun(){

		String startDate = "2025-08-01";
		String endDate = "2025-08-02";
		int num = 1;

//		dealSourceData_01.dealSourceData_01(startDate, endDate, num);    //  成功,月功能
//		dateAggregation_02.dateAggregation_02(startDate,endDate);  //  成功，月功能
//		generateInvoices_03.generateInvoices_03(startDate,endDate); //  成功,月功能
//		issueReports_04.issueReports_04(startDate,endDate);  // 成功，月功能

	}

}
